package com.nowcoder.community.entity;

import lombok.Data;

import java.util.Date;

/**
 * 帖子
 */
@Data
public class DiscussPost {

    private int id; //id

    private int userId; //用户id

    private String title;//标题

    private String content;   //内容

    private int type;     //类型

    private int status;  //状态

    private Date createTime;     //创建时间

    private int commentCount;   //评论数

    private double score;   //得分
}
